son of a gun

Son of a bitch

That son of a gun stole my wallet!

Used encouragingly or to compliment

You son of a gun, you did it!